//
//  PWebAPI.m
//  browserHD
//
//  Created by kevinxuls on 13-5-8.
//  Copyright (c) 2013年 Terry. All rights reserved.
//

#import "PWebAPI.h"

@implementation PWebAPI

+ (PWebAPI *)defaultKit {
    static PWebAPI *defaultKit;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        defaultKit = [[PWebAPI alloc] init];
    });
    return defaultKit;
}

- (id)init {
    self = [super init];
    if (self) {
        self.type = [[NSString alloc] initWithString:NSStringFromClass([self class])];
        
        self.selectors = @[@"aW5pdGlhbGl6ZQ==",                                         //0//+ (void)initialize;
                           @"X2NhblNob3dNSU1FVHlwZTphbGxvd2luZ1BsdWdpbnM6",             //1//+ (BOOL)_canShowMIMEType:(id)arg1 allowingPlugins:(BOOL)arg2;
                           @"Y2FuU2hvd01JTUVUeXBlOg==",                                 //2//+ (BOOL)canShowMIMEType:(id)arg1;
                           @"Y2FuU2hvd01JTUVUeXBlQXNIVE1MOg==",                         //3//+ (BOOL)canShowMIMETypeAsHTML:(id)arg1;
                           @"TUlNRVR5cGVzU2hvd25Bc0hUTUw=",                             //4//+ (id)MIMETypesShownAsHTML;
                           @"c2V0TUlNRVR5cGVzU2hvd25Bc0hUTUw6",                         //5//+ (void)setMIMETypesShownAsHTML:(id)arg1;
                           @"cmVnaXN0ZXJVUkxTY2hlbWVBc0xvY2FsOg==",                     //6//+ (void)registerURLSchemeAsLocal:(id)arg1;
                           @"cmVnaXN0ZXJWaWV3Q2xhc3M6cmVwcmVzZW50YXRpb25DbGFzczpmb3JNSU1FVHlwZTo=",
                           //7//+ (void)registerViewClass:(Class)arg1 representationClass:(Class)arg2 forMIMEType:(id)arg3;
                           @"X2NhblNob3dNSU1FVHlwZTo=",                                 //8//- (BOOL)_canShowMIMEType:(id)arg1;
                           @"X3BsdWdpbkZvck1JTUVUeXBlOg==",                             //9//- (id)_pluginForMIMEType:(id)arg1;
                           @"X3ZpZGVvUHJveHlQbHVnaW5Gb3JNSU1FVHlwZTo=",                 //10//- (id)_videoProxyPluginForMIMEType:(id)arg1;
                           @"X3BsdWdpbkZvckV4dGVuc2lvbjo=",                             //11//- (id)_pluginForExtension:(id)arg1;
                           @"X2lzTUlNRVR5cGVSZWdpc3RlcmVkQXNQbHVnaW46",                 //12//- (BOOL)_isMIMETypeRegisteredAsPlugin:(id)arg1;
                           @"X2luaXRXaXRoQXJndW1lbnRzOg==",                             //13//- (id)_initWithArguments:(id)arg1;
                           @"aW5pdFdpdGhGcmFtZTo=",                                     //14//- (id)initWithFrame:(struct CGRect)arg1;
                           @"aW5pdFdpdGhGcmFtZTpmcmFtZU5hbWU6Z3JvdXBOYW1lOg==",         //15//- (id)initWithFrame:(struct CGRect)arg1 frameName:(id)arg2 groupName:(id)arg3;
                           @"ZGVhbGxvYw==",                                             //16//- (void)dealloc;
                           @"ZmluYWxpemU=",                                             //17//- (void)finalize;
                           @"Y2xvc2U=",                                                 //18//- (void)close;
                           @"c2V0U2hvdWxkQ2xvc2VXaXRoV2luZG93Og==",                     //19//- (void)setShouldCloseWithWindow:(BOOL)arg1;
                           @"c2hvdWxkQ2xvc2VXaXRoV2luZG93",                             //20//- (BOOL)shouldCloseWithWindow;
                           @"dmlld0RpZE1vdmVUb1dpbmRvdw==",                             //21//- (void)viewDidMoveToWindow;
                           @"c2V0UHJlZmVyZW5jZXM6",                                     //22//- (void)setPreferences:(id)arg1;
                           @"cHJlZmVyZW5jZXM=",                                         //23//- (id)preferences;
                           @"c2V0UHJlZmVyZW5jZXNJZGVudGlmaWVyOg==",                     //24//- (void)setPreferencesIdentifier:(id)arg1;
                           @"cHJlZmVyZW5jZXNJZGVudGlmaWVy",                             //25//- (id)preferencesIdentifier;
                           @"c2V0VUlEZWxlZ2F0ZTo=",                                     //26//- (void)setUIDelegate:(id)arg1;
                           @"VUlEZWxlZ2F0ZQ==",                                         //27//- (id)UIDelegate;
                           @"X3Jlc291cmNlTG9hZERlbGVnYXRlRm9yd2FyZGVy",                 //28//- (id)_resourceLoadDelegateForwarder;
                           @"c2V0UmVzb3VyY2VMb2FkRGVsZWdhdGU6",                         //29//- (void)setResourceLoadDelegate:(id)arg1;
                           @"cmVzb3VyY2VMb2FkRGVsZWdhdGU=",                             //30//- (id)resourceLoadDelegate;
                           @"c2V0RG93bmxvYWREZWxlZ2F0ZTo=",                             //31//- (void)setDownloadDelegate:(id)arg1;
                           @"ZG93bmxvYWREZWxlZ2F0ZQ==",                                 //32//- (id)downloadDelegate;
                           @"c2V0UG9saWN5RGVsZWdhdGU6",                                 //33//- (void)setPolicyDelegate:(id)arg1;
                           @"cG9saWN5RGVsZWdhdGU=",                                     //34//- (id)policyDelegate;
                           @"X2ZyYW1lTG9hZERlbGVnYXRlRm9yd2FyZGVy",                     //35//- (id)_frameLoadDelegateForwarder;
                           @"c2V0RnJhbWVMb2FkRGVsZWdhdGU6",                             //36//- (void)setFrameLoadDelegate:(id)arg1;
                           @"ZnJhbWVMb2FkRGVsZWdhdGU=",                                 //37//- (id)frameLoadDelegate;
                           @"bWFpbkZyYW1l",                                             //38//- (id)mainFrame;
                           @"c2VsZWN0ZWRGcmFtZQ==",                                     //39//- (id)selectedFrame;
                           @"YmFja0ZvcndhcmRMaXN0",                                     //40//- (id)backForwardList;
                           @"c2V0TWFpbnRhaW5zQmFja0ZvcndhcmRMaXN0Og==",                 //41//- (void)setMaintainsBackForwardList:(BOOL)arg1;
                           @"Z29CYWNr",                                                 //42//- (BOOL)goBack;
                           @"Z29Gb3J3YXJk",                                             //43//- (BOOL)goForward;
                           @"Z29Ub0JhY2tGb3J3YXJkSXRlbTo=",                             //44//- (BOOL)goToBackForwardItem:(id)arg1;
                           @"c2V0VGV4dFNpemVNdWx0aXBsaWVyOg==",                         //45//- (void)setTextSizeMultiplier:(float)arg1;
                           @"dGV4dFNpemVNdWx0aXBsaWVy",                                 //46//- (float)textSizeMultiplier;
                           @"X3NldFpvb21NdWx0aXBsaWVyOmlzVGV4dE9ubHk6",                 //47//- (void)_setZoomMultiplier:(float)arg1 isTextOnly:(BOOL)arg2;
                           @"X3pvb21NdWx0aXBsaWVyOg==",                                 //48//- (float)_zoomMultiplier:(BOOL)arg1;
                           @"X3JlYWxab29tTXVsdGlwbGllcg==",                             //49//- (float)_realZoomMultiplier;
                           @"X3JlYWxab29tTXVsdGlwbGllcklzVGV4dE9ubHk=",                 //50//- (BOOL)_realZoomMultiplierIsTextOnly;
                           @"X2Nhblpvb21PdXQ6",                                         //51//- (BOOL)_canZoomOut:(BOOL)arg1;
                           @"X2Nhblpvb21Jbjo=",                                         //52//- (BOOL)_canZoomIn:(BOOL)arg1;
                           @"X3pvb21PdXQ6aXNUZXh0T25seTo=",                             //53//- (void)_zoomOut:(id)arg1 isTextOnly:(BOOL)arg2;
                           @"X3pvb21Jbjppc1RleHRPbmx5Og==",                             //54//- (void)_zoomIn:(id)arg1 isTextOnly:(BOOL)arg2;
                           @"X2NhblJlc2V0Wm9vbTo=",                                     //55//- (BOOL)_canResetZoom:(BOOL)arg1;
                           @"X3Jlc2V0Wm9vbTppc1RleHRPbmx5Og==",                         //56//- (void)_resetZoom:(id)arg1 isTextOnly:(BOOL)arg2;
                           @"c2V0QXBwbGljYXRpb25OYW1lRm9yVXNlckFnZW50Og==",             //57//- (void)setApplicationNameForUserAgent:(id)arg1;
                           @"YXBwbGljYXRpb25OYW1lRm9yVXNlckFnZW50",                     //58//- (id)applicationNameForUserAgent;
                           @"c2V0Q3VzdG9tVXNlckFnZW50Og==",                             //59//- (void)setCustomUserAgent:(id)arg1;
                           @"Y3VzdG9tVXNlckFnZW50",                                     //60//- (id)customUserAgent;
                           @"c2V0TWVkaWFTdHlsZTo=",                                     //61//- (void)setMediaStyle:(id)arg1;
                           @"bWVkaWFTdHlsZQ==",                                         //62//- (id)mediaStyle;
                           @"c3VwcG9ydHNUZXh0RW5jb2Rpbmc=",                             //63//- (BOOL)supportsTextEncoding;
                           @"c2V0Q3VzdG9tVGV4dEVuY29kaW5nTmFtZTo=",                     //64//- (void)setCustomTextEncodingName:(id)arg1;
                           @"X21haW5GcmFtZU92ZXJyaWRlRW5jb2Rpbmc=",                     //65//- (id)_mainFrameOverrideEncoding;
                           @"Y3VzdG9tVGV4dEVuY29kaW5nTmFtZQ==",                         //66//- (id)customTextEncodingName;
                           @"c3RyaW5nQnlFdmFsdWF0aW5nSmF2YVNjcmlwdEZyb21TdHJpbmc6",     //67//- (id)stringByEvaluatingJavaScriptFromString:(id)arg1;
                           @"d2luZG93U2NyaXB0T2JqZWN0",                                 //68//- (id)windowScriptObject;
                           @"dXNlckFnZW50Rm9yVVJMOg==",                                 //69//- (id)userAgentForURL:(id)arg1;
                           @"c2V0SG9zdFdpbmRvdzo=",                                     //70//- (void)setHostWindow:(id)arg1;
                           @"aG9zdFdpbmRvdw==",                                         //71//- (id)hostWindow;
                           @"ZG9jdW1lbnRWaWV3QXRXaW5kb3dQb2ludDo=",                     //72//- (id)documentViewAtWindowPoint:(struct CGPoint)arg1;
                           @"X2VsZW1lbnRBdFdpbmRvd1BvaW50Og==",                         //73//- (id)_elementAtWindowPoint:(struct CGPoint)arg1;
                           @"ZWxlbWVudEF0UG9pbnQ6",                                     //74//- (id)elementAtPoint:(struct CGPoint)arg1;
                           @"YWNjZXB0c0ZpcnN0UmVzcG9uZGVy",                             //75//- (BOOL)acceptsFirstResponder;
                           @"YmVjb21lRmlyc3RSZXNwb25kZXI=",                             //76//- (BOOL)becomeFirstResponder;
                           @"X3dlYmNvcmVfZWZmZWN0aXZlRmlyc3RSZXNwb25kZXI=",             //77//- (id)_webcore_effectiveFirstResponder;
                           @"c2V0TmV4dEtleVZpZXc6",                                     //78//- (void)setNextKeyView:(id)arg1;
                           @"c2VhcmNoRm9yOmRpcmVjdGlvbjpjYXNlU2Vuc2l0aXZlOndyYXA6",     //79//- (BOOL)searchFor:(id)arg1 direction:(BOOL)arg2 caseSensitive:(BOOL)arg3 wrap:(BOOL)arg4;
                           @"c2V0R3JvdXBOYW1lOg==",                                     //80//- (void)setGroupName:(id)arg1;
                           @"Z3JvdXBOYW1l",                                             //81//- (id)groupName;
                           @"ZXN0aW1hdGVkUHJvZ3Jlc3M=",                                 //82//- (double)estimatedProgress;
                           @"c2V0TWFpbkZyYW1lVVJMOg==",                                 //83//- (void)setMainFrameURL:(id)arg1;
                           @"bWFpbkZyYW1lVVJM",                                         //84//- (id)mainFrameURL;
                           @"aXNMb2FkaW5n",                                             //85//- (BOOL)isLoading;
                           @"bWFpbkZyYW1lVGl0bGU=",                                     //86//- (id)mainFrameTitle;
                           @"bWFpbkZyYW1lSWNvblVSTA==",                                 //87//- (id)mainFrameIconURL;
                           @"bWFpbkZyYW1lRG9jdW1lbnQ=",                                 //88//- (id)mainFrameDocument;
                           @"c2V0RHJhd3NCYWNrZ3JvdW5kOg==",                             //89//- (void)setDrawsBackground:(BOOL)arg1;
                           @"ZHJhd3NCYWNrZ3JvdW5k",                                     //90//- (BOOL)drawsBackground;
                           @"c2V0U2hvdWxkVXBkYXRlV2hpbGVPZmZzY3JlZW46",                 //91//- (void)setShouldUpdateWhileOffscreen:(BOOL)arg1;
                           @"c2hvdWxkVXBkYXRlV2hpbGVPZmZzY3JlZW4=",                     //92//- (BOOL)shouldUpdateWhileOffscreen;
                           @"c2V0Q3VycmVudE5vZGVIaWdobGlnaHQ6",                         //93//- (void)setCurrentNodeHighlight:(id)arg1;
                           @"Y3VycmVudE5vZGVIaWdobGlnaHQ=",                             //94//- (id)currentNodeHighlight;
                           @"cHJldmlvdXNWYWxpZEtleVZpZXc="                              //95//- (id)previousValidKeyView;
                           ];
    }
    return self;
}

@end
